package com.jeff

class Trip {
	String name
	City city //this m:1 relationship won't apply cascading deletion unless specified 'static belongsTo = [city:City]'
	Date dateFrom
	Date dateTo

    static constraints = {
		name(blank:false)
		city()
		dateFrom()
		dateTo()
    }
}
